﻿using MediatR;
using SmartProduction.ErrorCode;

namespace SmartProduction.Write.API.Application.Commands.WareHouser
{
    /// <summary>
    /// 仓库添加命令
    /// </summary>
    public class WareHouserCreateCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WareHouseCode { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 盘点编号
        /// </summary>
        public int MaterialListInventoryId { get; set; }
        /// <summary>
        /// 货位编号
        /// </summary>
        public int FreightId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>

        public string WareHouseName { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>

        public string WareHouseAddress { get; set; }

        /// <summary>
        /// 仓库备注
        /// </summary>
        public string WareHouseRemark { get; set; }

        /// <summary>
        /// 仓库状态
        /// </summary>
        public bool IsStauts { get; set; }
    }
}
